<?php
class ClassOne {
    function callClassOne() {
        print "In Class Ohhne";
    }
}
$obj =  new ClassOne();
$r = new ReflectionClass ( $obj );
if ($method = $r->getMethod ( "callClassOne" )) {
if ($method->isPublic () && ! $method->isAbstract ()) {
    return $method->invoke ( $obj, null );
}}
?>
